package com.sunnada.edu.system.pub.dao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface BaseDao {

	public List<?> selectList(String sqlName, HashMap<String, String> param);
	
	public Map selectOneMap(String sqlName, HashMap<String, String> param);
	
	public String selectOneString(String sqlName, HashMap<String, String> param);

	public int update(String sql);

	public int insert(String sqlName, HashMap<String, String> param);
	public int delete(String sqlName, HashMap<String, String> param);

	int insert(String sqlName, List<HashMap<String, String>> list);
	
	

}
